/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package solucion.dao;

import org.orm.*;
import solucion.*;

public interface RegistroDAO {
	public Registro loadRegistroByORMID(int id_registro) throws PersistentException;
	public Registro getRegistroByORMID(int id_registro) throws PersistentException;
	public Registro loadRegistroByORMID(int id_registro, org.hibernate.LockMode lockMode) throws PersistentException;
	public Registro getRegistroByORMID(int id_registro, org.hibernate.LockMode lockMode) throws PersistentException;
	public Registro loadRegistroByORMID(PersistentSession session, int id_registro) throws PersistentException;
	public Registro getRegistroByORMID(PersistentSession session, int id_registro) throws PersistentException;
	public Registro loadRegistroByORMID(PersistentSession session, int id_registro, org.hibernate.LockMode lockMode) throws PersistentException;
	public Registro getRegistroByORMID(PersistentSession session, int id_registro, org.hibernate.LockMode lockMode) throws PersistentException;
	public Registro[] listRegistroByQuery(String condition, String orderBy) throws PersistentException;
	public Registro[] listRegistroByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Registro[] listRegistroByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Registro[] listRegistroByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Registro loadRegistroByQuery(String condition, String orderBy) throws PersistentException;
	public Registro loadRegistroByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Registro loadRegistroByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Registro loadRegistroByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Registro createRegistro();
	public boolean save(solucion.Registro registro) throws PersistentException;
	public boolean delete(solucion.Registro registro) throws PersistentException;
	public boolean deleteAndDissociate(solucion.Registro registro) throws PersistentException;
	public boolean deleteAndDissociate(solucion.Registro registro, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(solucion.Registro registro) throws PersistentException;
	public boolean evict(solucion.Registro registro) throws PersistentException;
	public Registro loadRegistroByCriteria(RegistroCriteria registroCriteria);
	public Registro[] listRegistroByCriteria(RegistroCriteria registroCriteria);
}
